`ifndef TRANSACTION_SVH
`define TRANSACTION_SVH

class transaction;
	bit [3:0] a;

	extern function void print(string name = "");
endclass

function void transaction::print(string name);
	$display("%s: a=%0h", name, a);
endfunction

`endif
